/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package rfid;

/**
 *
 * @author xandru
 */
public class ConsoleOutput implements RFIDEventListener{

    public void onNewTag(RFIDTagEvent e) {
        System.out.println(e.getMessage() + " " + e.getTagData().getEPCParameter());
    }

    public void onUpdateTag (RFIDTagEvent e) {
        System.out.println(e.getMessage() + " " + e.getTagData().getEPCParameter() + " " + e.getTagData().getAntennaID());
    }
}
